<div class="subject">
  <%= raw t('notification.join.one' , 
           :sender => link_to(truncate_name(activity.sender.name),        polymorphic_url(activity.sender.subject)),
                      :thing => I18n.t(activity.direct_object.class.to_s.underscore+'.one'),
                      :title => title_of(activity.direct_object)) %>
</div>
<div class="briefing">
  <% if activity.direct_object.respond_to? :text %>
    "<%= link_to(sanitize(activity.direct_object.text.truncate(100, :separator =>' ')),
                     notification_url_of(activity.direct_object, @notification))%>"
  <% else%>
    <%= link_to(t('notification.watch_it'),
                notification_url_of( activity.direct_object, @notification))%>
  <%end%>
</div>
